Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove toNat lemmas from bitvec_rules #208

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Conversation

bollu
Copy link
Collaborator

@bollu bollu commented Oct 1, 2024

This prevents us from unfolding expressions that have .toNat into gigantic expressions. Furthermore, this helps bv_decide, since it can see pure bitvector statements.

@bollu bollu requested a review from shigoel as a code owner October 1, 2024 21:30
@alexkeizer alexkeizer marked this pull request as draft October 2, 2024 17:57
Co-Authored-By: Siddharth Bhat<[email protected]>
Co-Authored-By: Alex Keizer<[email protected]>
@alexkeizer alexkeizer force-pushed the remove-toNat-bitvec-rules branch from c708b8e to df94680 Compare October 2, 2024 18:46
@bollu bollu marked this pull request as ready for review October 2, 2024 21:36
Copy link
Collaborator

@shigoel shigoel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thx!

bollu added a commit to opencompl/lean4 that referenced this pull request Oct 3, 2024
These were missing from the `bv_toNat` simp-set,
discovered when refactoring LNSym's simp-set:
leanprover/LNSym#208
@bollu bollu merged commit 55f27e3 into main Oct 3, 2024
5 checks passed
github-merge-queue bot pushed a commit to leanprover/lean4 that referenced this pull request Oct 3, 2024
These were missing from the `bv_toNat` simp-set,
discovered when refactoring LNSym's simp-set:
leanprover/LNSym#208
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants